A. x
B. q!
C. :w
D. :q
Advertisement
Related Mcqs:
- Which command is used with vi editor to save file and remain in the editing mode ?
- A. :q B. :w C. q! D. 😡...
- While working with mail command, which command is used to save mail in a separate file ?
- A. s B. r C. w D. d...
- Which command is used to save the standard output in a file, as well as display it on the terminal ?
- A. more B. cat C. grep D. tee...
- What command is used to save the standard output in a file, as well as display it on the terminal ?
- A. tee B. grep C. cat D. more...
- Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?
- A. who | tee user.lst B. who > user.lst C. who >> user.lst D. who < user.lste...
- What command is used with vi editor to replace text from cursor to right______________?
- A. S B. s C. R D. r...
- Which command will be used with vi editor to replace text from cursor to right ?
- A. r B. R C. s D. S...
- What command is used with vi editor to move back to the beginning of a word ?
- A. w B. e C. a D. b...
- What command is used with vi editor to search a pattern in the forward direction ?
- A. ?? B. // C. ? D. /...
- Which command will be used with vi editor to insert text to left of cursor ?
- A. s B. S C. a D. i...
Advertisement